/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2025/5/14 10:16
 */

public class Demo7 {

    public Demo7(){
        System.out.println("Demo7的无参构造方法");
    }

    public Demo7(int i){
        System.out.println("Demo7的有参构造方法");
    }


    public static void main(String[] args) {
        new Demo7(10);
        new Demo7();
    }
}